home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re Novice ODF scripting myst.1 < prev    next >
Encoding:
Internet Message Format  |  1996-08-14  |  1.2 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Novice ODF scripting mystery
  2. Sent:        8/14/96 6:04 AM
  3. Received:    8/14/96 8:43 AM
  4. From:        Eric Smith, eric@tarkvara.org
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Greg Friedman wrote:
  9. >Are the statements that reference your part's custom terminology within a
  10. >tell block that says, "tell application documentName",  where documentName
  11. >is the name of your document, not "OpenDocâ„¢"?
  12.  
  13. Yes, I used "tell application documentName", because that's what the
  14. ODFDraw sample script did.  Was that the right thing to do?
  15.  
  16. As I said, ODFDraw displays the same problem:  when I open the ODFDraw
  17. sample script in Script Editor, all references to "shape" appear as <<class
  18. DrSh>> (and yes, the ODFDraw Sample document was already open when I opened
  19. the script).
  20.  
  21. One oddity of "tell application documentName" is that if I try the script
  22. when "documentName" isn't open, Script Editor puts up a standard open
  23. dialog to find the application... but of course the document's type is not
  24. 'APPL', so it can't be selected.
  25.  
  26. Eric Smith                                                 eric@tarkvara.org
  27. Tarkvara Design
  28.  
  29.  
  30.